<!--
  @author yangjiangming
  @date 2018/11/26 10:00
-->
<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">

<head>
    <title>子公司财务工单管理</title>
    <th:block th:replace="common/common :: loadJsCSS" />
</head>

<body>

    <div class="layui-fluid work-list-page">
        <th:block th:replace="common/sendCommon :: track" />
        <div class="layui-card">
            <div class="layui-card-body">
                <div class="layui-tab layui-tab-brief tab-work-list" lay-filter="workListTabBrief">
                    <ul class="layui-tab-title">
                        <th:block th:each="tab : ${tabList}">
                            <li data-th-data-type="${tab.tabType}" data-th-data-autoquery="${tab.autoQuery}" data-th-data-view="${tab.queryView}" th:classappend="${tab.queryView == queryView}?'layui-this'">
                                <span th:text="${tab.tabTypeName}"></span>
                                <span class="count"></span>
                            </li>
                        </th:block>
                    </ul>
                    <div class="layui-tab-content" id="tab-content" style="padding: 15px 0;" data-th-data-view="${queryView}" data-th-data-hide="${hideQueryView}" data-version="2">
                        <!-- 查询表单 -->
                        <form th:if="${queryView != null}" class="search-form" th:classappend="${hideQueryView == 2}?'layui-hide'" method="post" action="/yeyx/work/list" lay-filter="zmn-work-form">
                            <div class="layui-form layui-margin-t" th:include="work/list/branchfinance/_query :: ${queryView} "></div>
                        </form>
                    </div>
                </div>
                <!-- 数据表格 -->
                <table th:replace="work/list/branchfinance/_table :: table"></table>
            </div>

        </div>
    </div>

    <!-- 公共变量 -->
    <th:block th:replace="common/listQueryTmpl :: commonVariable" />

    <script th:inline="javascript">
        var tableName = 'branchFinance';
        var defaultQuery = [[${query}]];
        var plat = platMark.ZMN;
        var defaultBizType = BIZ_TYPE.C;
        var defaultMinTime = '[[${minTime}]]';
        var tabName = '财务工单'
        var path_name = '工单管理/服务工单管理/啄木鸟工单/财务工单'
        var loginStaff = [[${T(com.zmn.mcc.cas.web.StaffAdminService).currentStaff()}]];
        layui.config({
            version: 20221013001,
        }).extend({
            oms_work_list: "work/zmn.oms.work.list"
        }).use(['index', 'oms_work_list']);
    </script>

</body>

</html>